package top.ryw.ssm2.mapper;

import org.apache.ibatis.annotations.Param;
import top.ryw.ssm2.pojo.User;

import java.util.List;

public interface UserMapper {

    int insert(@Param("user") User user);

    User selectById(@Param("id") int id);

    List<User> selectList();
}
